Using Arduino microcontroller boards to measure response latencies.
نویسندگان
چکیده
Latencies of buttonpresses are a staple of cognitive science paradigms. Often keyboards are employed to collect buttonpresses, but their imprecision and variability decreases test power and increases the risk of false positives. Response boxes and data acquisition cards are precise, but expensive and inflexible, alternatives. We propose using open-source Arduino microcontroller boards as an inexpensive and flexible alternative. These boards connect to standard experimental software using a USB connection and a virtual serial port, or by emulating a keyboard. In our solution, an Arduino measures response latencies after being signaled the start of a trial, and communicates the latency and response back to the PC over a USB connection. We demonstrated the reliability, robustness, and precision of this communication in six studies. Test measures confirmed that the error added to the measurement had an SD of less than 1 ms. Alternatively, emulation of a keyboard results in similarly precise measurement. The Arduino performs as well as a serial response box, and better than a keyboard. In addition, our setup allows for the flexible integration of other sensors, and even actuators, to extend the cognitive science toolbox.
منابع مشابه
Arduino Atmega-328 Microcontroller
Arduino ATMEGA-328 microcontroller has been programmed for various applications. By using the power jack cable, arduino microcontroller has been programmed so that the execution of the program may takes place. Various kinds of arduino board are present in the market. In this paper, Arduino UNO ATMEGA-328 microcontroller is described in a detailed manner. Arduino software is installed in the com...
متن کاملThreading the Arduino with Haskell
Programming embedded microcontrollers often requires the scheduling of independent threads of execution, specifying the interaction and sequencing of actions in the multiple threads. Developing and debugging such multi-threaded systems can be especially challenging in highly resource constrained systems such as the Arduino line of microcontroller boards. The Haskino library, developed at the Un...
متن کاملIoT Based Load Management of a Micro-Grid Using Arduino and HMAS
This paper aims to establish an Arduino and IoT-based Hierarchical Multi-Agent System (HMAS) for management of loads’ side with incentive approach in a micro-grid. In this study, the performance of the proposed algorithm in a micro-grid has been verified. The micro-grid contains a battery energy storage system (BESS) and different types of loads known as residential consumer (RC), commercial co...
متن کاملIntelligent Irrigation System Based on Arduino
This paper explains how to build an intelligent irrigation system using Arduino (a microcontroller) and many devices (humidity, temperature, pressure and water flow sensors). Our irrigation system combines a precise method to determine water balance of soils with an automatic response to water content oscillations. Thus, it is an example of how we can perform better irrigation systems by increa...
متن کاملHaskino: A Remote Monad for Programming the Arduino
The Haskino library provides a mechanism for programming the Arduino microcontroller boards in high level, strongly typed Haskell instead of the low level C language normally used. Haskino builds on previous libraries for Haskell based Arduino programming by utilizing the recently developed remote monad design pattern. This paper presents the design and implementation of the two-level Haskino l...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Behavior research methods
دوره 45 4 شماره
صفحات -
تاریخ انتشار 2013